package com.dhsc.local.dao.impl.csgl;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.dhsc.domain.ywzx.csgl.YwqqglVo;
import com.dhsc.local.dao.csgl.IYwqqglDao;

/**
 * @ClassName: YwqqglDaoImpl
 * @Description: 业务请求管理
 * @date: 2023/9/11 14:38
 * @author: gx
 */
@Repository("ywqqgldao")
public class YwqqglDaoImpl implements IYwqqglDao {

	@Autowired
	private SqlSessionTemplate localSqlSessionTemplate;


    @Override
    public List<YwqqglVo> queryYwqqgl(YwqqglVo ywqqglVo) {
        return localSqlSessionTemplate.selectList("YwqqglMapper.queryYwqqgl",ywqqglVo);
    }

    @Override
    public int updateYwqqgl(YwqqglVo ywqqglVo) {
        return localSqlSessionTemplate.update("YwqqglMapper.updateYwqqgl",ywqqglVo);
    }

    @Override
    public List<YwqqglVo> queryTxtdm(YwqqglVo ywqqglVo) {
        return localSqlSessionTemplate.selectList("YwqqglMapper.queryTxtdm",ywqqglVo);
    }
}
